import service from '@/utils/request'

export const createAbTestDetail = (data) => {
  return service({
    url: '/qmAbTestDetail/createAbTestDetail',
    method: 'post',
    data
  })
}

export const deleteAbTestDetail = (params) => {
  return service({
    url: '/qmAbTestDetail/deleteAbTestDetail',
    method: 'delete',
    params
  })
}

export const updateAbTestDetail = (data) => {
  return service({
    url: '/qmAbTestDetail/updateAbTestDetail',
    method: 'put',
    data
  })
}

export const findAbTestDetail = (params) => {
  return service({
    url: '/qmAbTestDetail/findAbTestDetail',
    method: 'get',
    params
  })
}

export const getAbTestDetailList = (params) => {
  return service({
    url: '/qmAbTestDetail/getAbTestDetailList',
    method: 'get',
    params
  })
}
